﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Microsoft.Win32;
using System.Diagnostics;
using System.IO;
using System.Text.RegularExpressions;

namespace writeRegistry
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            double windowsVer = ShohdiWindowsVersion.WindowsVersionClass. getWindowsVer();
            MessageBox.Show(windowsVer.ToString());
            RegistryKey regNew = Registry.LocalMachine.OpenSubKey("SOFTWARE\\HARF\\WebCDInit\\FatawaBazService", true);
            regNew.SetValue(null, "50554");
            regNew.Close();
        }

       
    }
}
